package vn.ugame.model.entity;

@Entity
public class Account {

    @Collumn(name = "accountId")
    private String id;
    @Collumn(name = "email")
    private String email;
    @Collumn(name = "password")
    private String password;
    @Collumn(name = "accountEnable")
    private boolean enable;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Account() {
    }

    public Account(String id, String email, String password, boolean enable) {
        this.id = id;
        this.email = email;
        this.password = password;
        this.enable = enable;
    }
}
